package com.glela.seckill.service;

import org.springframework.http.ResponseEntity;

public interface SeckillService {

	/**
	 * H5获取秒杀详情
	 * @param activityId
	 * @return
	 */
	ResponseEntity<?> seckillDetail(long activityId);
	
	/**
	 * 首页秒杀信息
	 * @return
	 */
	ResponseEntity<?> indexSeckill();

	/**
	 * 更多秒杀信息
	 * @param status
	 * @param type
	 * @return
	 */
	ResponseEntity<?> moreSeckillInfo(int startIndex, int pageSize, int status);

	/**
	 * 秒杀活动库存判定
	 * @param activityId
	 * @param goodsId
	 * @param specInfo
	 * @return
	 */
	ResponseEntity<?> decideRepertory(long activityId, long goodsId, String specInfo);

}
